package com.cz.test.oop.extend;

public class Cat extends Animal {
	private int age;
	private int height;
		
	public Cat(int age, int height) {
		super();
		this.age = age;
		this.height = height;
	}
	
	
	public Cat(String name,int age,int height) {
		super(name);
		
		this.age=age;
		this.height=height;
	}


	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	

	public String getAnimalName(){
		return "Cat";
		
	}
	

}
